package com.example.exammaster.pojo;

public class Exam {

    private int id;
    private String title;
    private String answerA;
    private String answerB;
    private String answerC;
    private String answerD;
    private String realAnswer;
    private int projectSelectId;
    private int chapterId;
    private String name;
    private String examYear;
    private String isImage;


    public Exam() {
    }

    public Exam(int id, String title, String answerA, String answerB, String answerC, String answerD, String realAnswer,int projectSelectId,int chapterId,String name,String isImage,String examYear) {
        this.id = id;
        this.title = title;
        this.answerA = answerA;
        this.answerB = answerB;
        this.answerC = answerC;
        this.answerD = answerD;
        this.realAnswer = realAnswer;
        this.projectSelectId = projectSelectId;
        this.chapterId = chapterId;
        this.name = name;
        this.isImage = isImage;
        this.examYear = examYear;
    }

    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getAnswerA() {
        return answerA;
    }

    public String getAnswerB() {
        return answerB;
    }

    public String getAnswerC() {
        return answerC;
    }

    public String getAnswerD() {
        return answerD;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setAnswerA(String answerA) {
        this.answerA = answerA;
    }

    public void setAnswerB(String answerB) {
        this.answerB = answerB;
    }

    public void setAnswerC(String answerC) {
        this.answerC = answerC;
    }

    public void setAnswerD(String answerD) {
        this.answerD = answerD;
    }

    public String getRealAnswer() {
        return realAnswer;
    }

    public void setRealAnswer(String realAnswer) {
        this.realAnswer = realAnswer;
    }

    public int getChapterId() {
        return chapterId;
    }

    public String getProjectSelect() {
        return name;
    }

    public String getName() {
        return name;
    }

    public String getIsImage() {
        return isImage;
    }

    public void setChapterId(int chapterId) {
        this.chapterId = chapterId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setIsImage(String isImage) {
        this.isImage = isImage;
    }

    public int getProjectSelectId() {
        return projectSelectId;
    }

    public void setProjectSelectId(int projectSelectId) {
        this.projectSelectId = projectSelectId;
    }

    public String getExamYear() {
        return examYear;
    }

    public void setExamYear(String examYear) {
        this.examYear = examYear;
    }

    @Override
    public String toString() {
        return "exam{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", answerA='" + answerA + '\'' +
                ", answerB='" + answerB + '\'' +
                ", answerC='" + answerC + '\'' +
                ", answerD='" + answerD + '\'' +
                ", realAnswer='" + realAnswer + '\'' +
                ", chapterId='" + chapterId + '\'' +
                ", projectSelect='" + name + '\'' +
                ", isImage='" + isImage + '\''+
                '}';
    }
}
